package com.wz.wzliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.wz.wzliving.commodity.entity.CategoryEntity;
import com.wz.wzliving.commodity.vo.Catalog2Vo;
import com.wzcommon.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商品分类表
 *
 * @author wangzeng
 * @email 3107187288@qq.com
 * @date 2025-03-25 20:13:56
 */
public interface CategoryService extends IService<CategoryEntity> {

    List<CategoryEntity> listTree();
    PageUtils queryPage(Map<String, Object> params);
    Long[] getCascadedCategoryId(Long categoryId);

    List<CategoryEntity> getLevel1Categorys();

    Map<String, List<Catalog2Vo>> getCatalogJson();
}

